package com.team.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
    * 产品表
    */
@Data
@TableName(value = "t_product")
public class Product {
    /**
     * 产品ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品类型 如团建旅游 常规旅游
     */
    @TableField(value = "product_type")
    private String productType;

    /**
     * 主要景点 如惠州
     */
    @TableField(value = "main_address")
    private String mainAddress;

    /**
     * 线路名称
     */
    @TableField(value = "path_name")
    private String pathName;

    /**
     * 过期时间
     */
    @TableField(value = "past_time")
    private Date pastTime;

    /**
     * 价格
     */
    @TableField(value = "product_price")
    private Double productPrice;

    /**
     * 更新人
     */
    @TableField(value = "update_name")
    private String updateName;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 热门标签 属性 如热门 推荐
     */
    @TableField(value = "sort_tag")
    private Integer sortTag;

    /**
     * 分数
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 点击率
     */
    @TableField(value = "click_rate")
    private Integer clickRate;

    /**
     * 状态1为上架 0为下架
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 主标题
     */
    @TableField(value = "main_tile")
    private String mainTile;

    /**
     * 副标题
     */
    @TableField(value = "subhead")
    private String subhead;

    /**
     * 产品特色表
     */
    @TableField(value = "product_style")
    private String productStyle;

    /**
     * 出发地
     */
    @TableField(value = "start_address")
    private String startAddress;

    /**
     * 目的地
     */
    @TableField(value = "destination")
    private String destination;

    /**
     * 主图
     */
    @TableField(value = "product_img")
    private String productImg;

    /**
     * 主题
     */
    @TableField(value = "theme")
    private String theme;

    /**
     * 出发交通工具
     */
    @TableField(value = "start_vehicle")
    private String startVehicle;

    /**
     * 返程交通工具
     */
    @TableField(value = "back_vehicle")
    private String backVehicle;

    /**
     * 行程天数
     */
    @TableField(value = "days_trip")
    private Integer daysTrip;

    /**
     * 行程晚数
     */
    @TableField(value = "night_trip")
    private Integer nightTrip;

    /**
     * 详情图
     */
    @TableField(value = "details_img")
    private String detailsImg;

    public static final String COL_ID = "id";

    public static final String COL_PRODUCT_TYPE = "product_type";

    public static final String COL_MAIN_ADDRESS = "main_address";

    public static final String COL_PATH_NAME = "path_name";

    public static final String COL_PAST_TIME = "past_time";

    public static final String COL_PRODUCT_PRICE = "product_price";

    public static final String COL_UPDATE_NAME = "update_name";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_SORT_TAG = "sort_tag";

    public static final String COL_SCORE = "score";

    public static final String COL_CLICK_RATE = "click_rate";

    public static final String COL_STATE = "state";

    public static final String COL_MAIN_TILE = "main_tile";

    public static final String COL_SUBHEAD = "subhead";

    public static final String COL_PRODUCT_STYLE = "product_style";

    public static final String COL_START_ADDRESS = "start_address";

    public static final String COL_DESTINATION = "destination";

    public static final String COL_PRODUCT_IMG = "product_img";

    public static final String COL_THEME = "theme";

    public static final String COL_START_VEHICLE = "start_vehicle";

    public static final String COL_BACK_VEHICLE = "back_vehicle";

    public static final String COL_DAYS_TRIP = "days_trip";

    public static final String COL_NIGHT_TRIP = "night_trip";

    public static final String COL_DETAILS_IMG = "details_img";
}